//
//  YDTuiGuangCellHeadView.h
//  PeiZiWangBei
//
//  Created by 巨彦新 on 2017/11/21.
//  Copyright © 2017年 LK-IOS. All rights reserved.
//

#import <Foundation/Foundation.h>


@class YDTuiGuangCellHeadView;

@protocol SYTuiGuangCellHeadViewDelegate <NSObject>

@optional

/**
 点击了headerview上面的按钮
 @param headerView  headerView
 @param buttonTag 索引
 */
-(void)homeTableViewHeaderView:(YDTuiGuangCellHeadView *)headerView didClickButtonTag:(NSInteger)buttonTag;


@end

@interface YDTuiGuangCellHeadView : UITableViewHeaderFooterView


+ (instancetype)headerViewWithTableView:(UITableView *)tableView;


@property (nonatomic , weak)id<SYTuiGuangCellHeadViewDelegate>delegate;

@end
